//
//  JSONCommand.m
//  ASOBAudioBook
//
//  Created by Staffan Persson on 12/09/2011.
//  Copyright (c) 2011 Know IT Stockholm AB. All rights reserved.
//

#import "ServiceCommand.h"

@implementation ServiceCommand

@synthesize arguments;
@synthesize service;

+ (ServiceCommand *)initWithDictionary:(NSDictionary *)dictionary {
    ServiceCommand* jsonCommand = [[ServiceCommand alloc] init];
    jsonCommand.service = [dictionary objectForKey:@"service"];
    jsonCommand.arguments = [dictionary objectForKey:@"args"];
    return jsonCommand;
}

@end
